.theme-toggle {
  margin-left: 1rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  box-shadow: 0 2px 8px rgba(80, 120, 200, 0.10);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle.dark {
  background: linear-gradient(135deg, #23272f 0%, #3a3f4b 100%);
  box-shadow: 0 2px 12px rgba(40, 60, 120, 0.18);
}

.theme-toggle:hover {
  opacity: 1;
  box-shadow: 0 4px 18px 0 rgba(80, 120, 200, 0.18);
  transform: scale(1.08) rotate(-8deg);
}

.theme-toggle svg {
  font-size: 1.7rem;
  color: #1677ff;
  filter: drop-shadow(0 0 4px #aeefff88);
  transition: color 0.3s, filter 0.3s;
}

.theme-toggle.dark svg {
  color: #ffe066;
  filter: drop-shadow(0 0 6px #ffe06688);
}